package CasinoMDS;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JRootPane;
import javax.swing.border.EmptyBorder;
import javax.swing.JLayeredPane;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JEditorPane;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class Ver_queja_sugerencia extends JFrame {

	private JPanel contentPane;
	private JTextField textField;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Ver_queja_sugerencia frame = new Ver_queja_sugerencia();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Ver_queja_sugerencia() {
		setBackground(new Color(0, 0, 0));
		setResizable(false);
		setVisible(true);
		setTitle("Escribir queja o sugerencia");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 411, 350);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		
		JLayeredPane layeredPane = new JLayeredPane();
		contentPane.add(layeredPane, BorderLayout.CENTER);
		
		JLabel lblAsunto = new JLabel("Asunto:");
		lblAsunto.setBounds(10, 11, 46, 14);
		layeredPane.add(lblAsunto);
		
		textField = new JTextField();
		textField.setEditable(false);
		textField.setBounds(10, 36, 375, 20);
		layeredPane.add(textField);
		textField.setColumns(10);
		
		JLabel lblCuerpo = new JLabel("Cuerpo:");
		lblCuerpo.setBounds(10, 67, 46, 14);
		layeredPane.add(lblCuerpo);
		
		JEditorPane editorPane = new JEditorPane();
		editorPane.setEditable(false);
		editorPane.setBounds(10, 92, 375, 172);
		layeredPane.add(editorPane);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				dispose();
			}
		});
		btnCancelar.setBounds(10, 278, 89, 23);
		layeredPane.add(btnCancelar);
		
		JButton btnEnviar = new JButton("Marcar como tramitada");
		btnEnviar.setBounds(210, 278, 175, 23);
		layeredPane.add(btnEnviar);
	}
}
